package com.example.api.config;

import feign.Request;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {

    @Bean
    public Request.Options feignOptions() {
        // 连接超时：10秒，读取超时：60秒
        return new Request.Options(300000, 300000);
    }
}
